package day14.volatiledemo02;

/**
 * @author Xiao
 * @date 2021/8/7
 */
public class Test {
    public static void main(String[] args) {
    Boy boy = new Boy();
    Girl girl = new Girl();
    Thread t1 = new Thread(boy);
    Thread t2 = new Thread(girl);
        t1.start();
        t2.start();
    }
}
